package com.bite.system.mapper.user;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bite.system.domain.user.UserGroupUser;
import jakarta.validation.constraints.NotNull;

import java.util.Collection;
import java.util.List;
import java.util.Set;

/**
* @author 17450
* @description 针对表【tb_user_group_user】的数据库操作Mapper
* @createDate 2025-06-18 16:17:03
* @Entity domain/exam.UserGroupUser
*/
public interface UserGroupUserMapper extends BaseMapper<UserGroupUser>  {
    Set<Long> selectUserIdByGroupIdList(Set<Long> userGroupIds);

    Long deleteByGroupIds(Set<Long> userGroupIds);

    Long insertBatch(Collection<UserGroupUser> userGroups);
}




